package main

import "fmt"

// global

//浮点型 默认为float64
var (
	name string
	age int
	hight float64
)

func main() {
	name = "xyt"
	age = 24
	hight = 1.73

	fmt.Println("姓名为:", name)
	fmt.Println("年龄为:", age)
	fmt.Println("身高为:", hight)

	// inter 变量
	var eng string
	eng = "aa"
	fmt.Println(eng)

	// 类型推导
	fig := 123
	fmt.Println(fig)

}